package com.ms.common.log;

import org.apache.log4j.DailyRollingFileAppender;
import org.apache.log4j.Priority;

public class LogDailyRollingFileAppender extends DailyRollingFileAppender {

	@Override
	public boolean isAsSevereAsThreshold(Priority priority) {
		return threshold == null || priority.getSyslogEquivalent() == threshold.getSyslogEquivalent();
	}

}
